package dao

import "ozonTest/internal/domain/comments/model"

type CommentsDAO interface {
	CreateComment(comment *model.Comment) error
	CreateReply(parentID int, reply *model.Comment) error
	GetComment(id int) (*model.Comment, error)
	GetAllComments() ([]model.Comment, error)
	DeleteComment(id int) error
	GetCommentsByPost(postID int) ([]*model.Comment, error)
}
